package cn.smbms.service;

import cn.smbms.pojo.Bill;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BillService {
    List<Bill> getByProduct(String productName,
                            Integer providerId,
                            Integer isPayment,
                            Integer PageNo,
                            Integer pageSize);

    Integer getBillCount(String productName,
                         Integer providerId,
                         Integer isPayment);

    Bill getBillById(Integer id);

    boolean delete(Integer id);

    boolean modify(Bill bill);

    boolean add(Bill bill);

    Integer count(Integer id);




}
